package operation;

import book.BookList;

public class DisplayOperation implements IOperation{
    @Override
    public void work( BookList bookList) {

        int chore=bookList.getUsedSize();

        for (int i=0;i<chore;i++){
            System.out.println(bookList.getBook(i));
        }
        System.out.println("显示图书");
    }
}
